from django.core.mail import send_mail
from celery_tasks.main import celery_app


@celery_app.task(name="send_email_code")
def send_email_code(email,message):
    send_mail(subject="美多商城", from_email="X1438102025@126.com", message="",
              recipient_list=[email, 'X1438102025@126.com'],html_message=message)
